package cn.qidisoft.edu.hzjt.model;

import java.io.InputStream;
import java.util.Date;

import org.springframework.web.multipart.MultipartFile;

public class BjxxClassMaterialFile {

    private Integer       fileid;
    //uuid
    private String        gid;
    //所属提交范围的主键
    private Integer       rangeid;
    //班主任职工ID
    private Integer       empid;
    //所属项目ID
    private Integer       projectid;
    //文件名
    private String        filename;
    //文件路径
    private String        filepath;
    //附件的大小，如：2.7M
    private String        filesize;
    //附件的扩展名，如.doc
    private String        extension;
    //文件的类型
    private String        contenttype;
    //提交时间（上传时间）
    private Date          msubmittime;

    //辅助字段
    private MultipartFile mufile;

    private InputStream   inputStream;
    //文件系统名称
    private String        sysfilepath;

    public Integer getFileid() {
        return fileid;
    }

    public void setFileid(Integer fileid) {
        this.fileid = fileid;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid == null ? null : gid.trim();
    }

    public Integer getRangeid() {
        return rangeid;
    }

    public void setRangeid(Integer rangeid) {
        this.rangeid = rangeid;
    }

    public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }

    public Integer getProjectid() {
        return projectid;
    }

    public void setProjectid(Integer projectid) {
        this.projectid = projectid;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath == null ? null : filepath.trim();
    }

    public String getFilesize() {
        return filesize;
    }

    public void setFilesize(String filesize) {
        this.filesize = filesize == null ? null : filesize.trim();
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension == null ? null : extension.trim();
    }

    public String getContenttype() {
        return contenttype;
    }

    public void setContenttype(String contenttype) {
        this.contenttype = contenttype == null ? null : contenttype.trim();
    }

    /**
     * Getter method for property <tt>msubmittime</tt>.
     * 
     * @return property value of msubmittime
     */
    public Date getMsubmittime() {
        return msubmittime;
    }

    /**
     * Setter method for property <tt>msubmittime</tt>.
     * 
     * @param msubmittime value to be assigned to property msubmittime
     */
    public void setMsubmittime(Date msubmittime) {
        this.msubmittime = msubmittime;
    }

    /**
     * Getter method for property <tt>mufile</tt>.
     * 
     * @return property value of mufile
     */
    public MultipartFile getMufile() {
        return mufile;
    }

    /**
     * Getter method for property <tt>inputStream</tt>.
     * 
     * @return property value of inputStream
     */
    public InputStream getInputStream() {
        return inputStream;
    }

    /**
     * Setter method for property <tt>mufile</tt>.
     * 
     * @param mufile value to be assigned to property mufile
     */
    public void setMufile(MultipartFile mufile) {
        this.mufile = mufile;
    }

    /**
     * Setter method for property <tt>inputStream</tt>.
     * 
     * @param inputStream value to be assigned to property inputStream
     */
    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }

    /**
     * Getter method for property <tt>sysfilepath</tt>.
     * 
     * @return property value of sysfilepath
     */
    public String getSysfilepath() {
        return sysfilepath;
    }

    /**
     * Setter method for property <tt>sysfilepath</tt>.
     * 
     * @param sysfilepath value to be assigned to property sysfilepath
     */
    public void setSysfilepath(String sysfilepath) {
        this.sysfilepath = sysfilepath;
    }

}